from django.conf.urls import url
from . import views

urlpatterns = [
        url(r'^qq/authorization/$',views.OAuthURLView.as_view()),
        url(r'^oauth_callback/$',views.OAuthUserView.as_view()),

        url(r'^oauth2/authorize/$',views.WeiBoURLView.as_view()),
        url(r'^sina_callback/$',views.WeiBoReturnView.as_view()),
        url(r'^oauth/sina/user/$',views.UserBind.as_view()),
]